<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=0.5,maxinum-scale=0.5, mininum-scale=0.5,user-scalable=no"> -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maxinum-scale=1.0, mininum-scale=1.0,user-scalable=no">
 

    <!-- <meta name="viewport" content="initial-scale=0.3"> -->
    <title>Document</title>
    <link rel="stylesheet" href="css/normalize.css">
    <script src="libs/rem.js"></script>
    <script src="libs/border1px.js" ></script>

    5:webapp 点透问题，如何解决
    <!-- <style>
       .tab{
    height: 0.49rem;
    line-height: 0.49rem;
    position: relative;
    background: #ffffff;
    display: -webkit-flex;
    display: flex;          
}   
.tab:after {
    width: 100%;
    content: '';
    display: block;
    height: 1px;
    left: 0;
    background: #e9e9e9;
    position: absolute; 
    bottom: 0;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
}

    </style> -->


    <style>
        .box {
            position: relative;
            width:200px;
            height:200px;
            /* border-bottom:1px solid red; */
            background-color: pink;

            box-shadow: inset 1px -1px 1px -1px #fff,inset -1px 1px 1px -1px #fff;
            /* -webkit-transform:scaleY(.5);
            -webkit-transform-origin:0 0; */
        }
        /* .box::after {
            content:" ";
            position: absolute;
            bottom:0px;
            left:0px;
            right:0px;
            border-bottom:1px solid red;
            -webkit-transform:scaleY(0.5);
        } */



        .box1 {
            position: relative;
            width:200px;
            height:200px;
            /* border-bottom:0.01rem solid red; */
            background-color: blue;
            /* -webkit-transform:scaleY(.5);
            -webkit-transform-origin:0 0; */
        }
        /* .box1::after {
            content:" ";
            position: absolute;
            bottom:0px;
            left:0px;
            right:0px;
            border-bottom:1px solid red;
            -webkit-transform:scaleY(0.5);
        } */



        .box2 {
            width:7.4rem;
            height:7.5rem;
            background:yellow;
        }
    </style>
</head>
<body>
    <div class="box"></div>

    <div class="box1"></div>

    <div class="box2"></div>
</body>
</html>